html, body
  padding 0
  margin 0
body
  font-family Avenir, 'Chinese Quote', PingFang SC, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif
  -webkit-font-smoothing antialiased
  -moz-osx-font-smoothing grayscale
  font-size 14px
  font-weight Regular
  color $textColor
h1
  font-size 28px !important
h2
  font-size 24px !important
h3
  font-size 20px !important
h4
  font-size 16px !important
.page
  padding-left $sidebarWidth
.navbar
  position fixed
  z-index 20
  top 0
  left 0
  right 0
  height $navbarHeight
  background-color #fff
  box-sizing border-box
  border-bottom 1px solid $borderColor
.sidebar-mask
  position fixed
  z-index 9
  top 0
  left 0
  width 100vw
  height 100vh
  display none
.sidebar
  font-size 15px
  background-color #fff
  width $sidebarWidth
  position fixed
  z-index 10
  margin 0
  top $navbarHeight
  left 0
  bottom 0
  box-sizing border-box
  border-right 1px solid $borderColor
  overflow-y auto
.content:not(.custom)
  margin 0 auto
  padding 2rem 2.5rem
  @extend $wrapper
  > *:first-child
    margin-top $navbarHeight
  a:hover
    text-decoration underline
  p.demo
    padding 1rem 1.5rem
    border 1px solid #ddd
    border-radius 4px
  img
    max-width 100%
.content.custom
  padding 0
  margin 0
  img
    max-width 100%
a
  font-weight 500
  color $accentColor
  text-decoration none
p a code
  font-weight 400
  color $accentColor
kbd
  background #eee
  border solid 0.15rem #ddd
  border-bottom solid 0.25rem #ddd
  border-radius 0.15rem
  padding 0 0.15em
blockquote
  font-size 1rem
  color #999
  border-left 0.25rem solid #dfe2e5
  margin-left 0
  padding-left 1rem
ul, ol
  padding-left 1.2em
ul > li > ul
  color #8C98AE
strong
  font-weight 600
h1, h2, h3, h4, h5, h6
  font-weight 600
  line-height 1.25
  .content:not(.custom) > &
    margin-top 0.5rem - $navbarHeight
    padding-top ($navbarHeight + 1rem)
    margin-bottom 0
    &:first-child
      margin-top -1.5rem
      margin-bottom 1rem
      + p, + pre, + .custom-block
        margin-top 2rem
  &:hover .header-anchor
    opacity 1
h1
  font-size 2.2rem
h2
  font-size 1.65rem
  padding-bottom 0.3rem
h3
  font-size 1.35rem
a.header-anchor
  font-size 0.85em
  float left
  margin-left -0.87em
  padding-right 0.23em
  margin-top 0.125em
  opacity 0
  &:hover
    text-decoration none
code, kbd, .line-number
  font-family source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace
p, ul, ol
  line-height 2
hr
  border 0
  border-top 1px solid $borderColor
table
  border-collapse collapse
  // margin 40px 0
  display table
  width 100%
  max-width 100%
  color #45526b
// border 1px solid #DEE2E6 !important
thead
  background #E8F0F9
  text-align left
  tr
    height 60px
    th
      padding-left 0.8rem
tr
  &:nth-child(1)
    border-bottom 1px solid transparent
  &:nth-child(2n)
    background-color #F8F9FA
td
  border none
  padding 0.6em 1em
  height 30px
th:not(:last-child)
  border none
td
  color #596C8E
.custom-layout
  padding-top $navbarHeight
.theme-container
  &.sidebar-open
    .sidebar-mask
      display block
  &.no-navbar
    .content:not(.custom) > h1, h2, h3, h4, h5, h6
      margin-top 1.5rem
      padding-top 0
    .sidebar
      top 0
    .custom-layout
      padding-top 0
@media (min-width: ($MQMobile + 1px))
  .theme-container.no-sidebar
    .sidebar
      display none
    .page
      padding-left 0
